﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="labaff.aspx.cs" Inherits="TeamFranceTriple.labaff"
    EnableViewState="true" ViewStateMode="Disabled" EnableEventValidation="false" %>

<%@ Register Assembly="TeamFranceTriple" Namespace="TeamFranceTriple" TagPrefix="cc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="AjaxControlToolkit" %>
<%@ Register Src="~/Base/ascx/IFrameControl.ascx" TagName="IFrameControl" TagPrefix="uc" %>
<%@ Register Src="~/Pages/Master/UserPanel.ascx" TagName="UserPanel" TagPrefix="uc" %>
<%@ Register Src="~/Pages/Master/RevolverMaps.ascx" TagName="RevolverMaps" TagPrefix="uc" %>
<%@ Register Src="~/Pages/Master/ShoutBox.ascx" TagName="ShoutBox" TagPrefix="uc" %>
<%@ Register Src="~/Pages/Master/LastUserVisit.ascx" TagName="LastUserVisit" TagPrefix="uc" %>
<%@ Register Src="~/Pages/Master/NextUserBirthday.ascx" TagName="NextUserBirthday"
    TagPrefix="uc" %>
<%@ Register Src="~/Pages/Master/Calendar.ascx" TagName="Calendar" TagPrefix="uc" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head id="Head1" runat="server">
    <title>Battlefield Alliance For Fun (LaB.A.F.F.)</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta http-equiv="content-type" content="text/html; charset=UTF-8;" />
    <meta name="DISTRIBUTION" content="GLOBAL" />
    <meta name="RATING" content="GENERAL" />
    <meta name="ROBOTS" content="INDEX, FOLLOW" />
    <meta name="RESOURCE-TYPE" content="DOCUMENT" />
    <meta name="REVISIT-AFTER" content="1 DAYS" />
    <%--      La balse ci-dessous est passée dans le code-behind pour être localisée.
    <meta name="AUTHOR" content="CaptainMagicAA" />
    <meta name="DESCRIPTION" content="The &quot;Team France Triple&quot; is a french team for playing the Electronic Art's &quot;Battlefield&quot; Video Games." /> 
    <meta name="Keywords" content="&quot;Team France Triple&quot;,[FrTr],-FrTrpl-,Battlefield 3,Dice,Electronics Art,Fun Fair-play,No Cheat,&quot;Video Game Community Portal&quot;" />
    <meta name="GENERATOR" content="Microsoft Visual Studio Web Developer 2010 Express Service Pack 1 - Asp.Net C# 4.0" />
    --%>
    <%--Balise à conserver pour documentation : name="norton-safeweb-site-verification"--%>
    <%--    <meta name="norton-safeweb-site-verification" content="k3yttga61-yu7lcf38x2x9l3q7mf8n-c3dxjdfnh4h2aql1wefgj5wt9wlxilgf-5q08zi3lp80eedj-z9d29ounivn9qdpzzi-fy-k0jqolzqnao6f-wyl1emjqx4-4" />
    --%>
    <link rel="shortcut icon" href="~/favicon.ico" type="image/x-icon" />
    <script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.4.1.min.js" type="text/javascript">        
    </script>
</head>
<body>
    <form id="Form1" runat="server">
    <AjaxControlToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server" EnableCdn="True"
        EnablePageMethods="True" EnableScriptGlobalization="True" CompositeScript-ScriptMode="Release"
        ScriptMode="Release" CombineScripts="True">
    </AjaxControlToolkit:ToolkitScriptManager>
    <asp:EntityDataSource ID="FriendlyTeamEntityDataSource" runat="server" AutoGenerateWhereClause="true"
        ConnectionString="name=Model1Container" DefaultContainerName="Model1Container"
        EnableDelete="True" EnableFlattening="False" EnableInsert="True" EnableUpdate="True"
        EntitySetName="FriendlyTeamSet" OrderBy="it.[NameFriendlyTeam]">
    </asp:EntityDataSource>
    <asp:ObjectDataSource ID="AddMemberObjectDataSource" runat="server" TypeName="FranceTriple.Dal.LaBaFFDal"
        SelectMethod="GetTeamNonMembershipUsersArray" EnableViewState="true" ViewStateMode="Enabled">
        <SelectParameters>
            <asp:Parameter Name="TeamId" Direction="Input" />
        </SelectParameters>
    </asp:ObjectDataSource>
    <asp:ObjectDataSource ID="RemoveMemberObjectDataSource" runat="server" TypeName="FranceTriple.Dal.LaBaFFDal"
        SelectMethod="GetTeamMembershipUsersArray" EnableViewState="true" ViewStateMode="Enabled">
        <SelectParameters>
            <asp:Parameter Name="TeamId" Direction="Input" />
        </SelectParameters>
    </asp:ObjectDataSource>
    <asp:ObjectDataSource ID="AddGuildMasterObjectDataSource" runat="server" TypeName="FranceTriple.Dal.LaBaFFDal"
        SelectMethod="GetTeamNonGuildMasterMembershipUsersArray" EnableViewState="true"
        ViewStateMode="Enabled">
        <SelectParameters>
            <asp:Parameter Name="TeamId" Direction="Input" />
        </SelectParameters>
    </asp:ObjectDataSource>
    <asp:ObjectDataSource ID="RemoveGuildMasterObjectDataSource" runat="server" TypeName="FranceTriple.Dal.LaBaFFDal"
        SelectMethod="GetTeamGuildMasterMembershipUsersArray" EnableViewState="true"
        ViewStateMode="Enabled">
        <SelectParameters>
            <asp:Parameter Name="TeamId" Direction="Input" />
        </SelectParameters>
    </asp:ObjectDataSource>
    <table class="page" border="0" width="100%" cellpadding="1" cellspacing="0">
        <tr>
            <td align="center">
                <asp:Panel ID="FriendlyTeamPanel" runat="server" CssClass="panelMain" GroupingText="Team Amies"
                    meta:resourcekey="FriendlyTeamPanelResource1">
                    <table border="0" cellpadding="1" cellspacing="0" style="border: 2px solid #440000;"
                        width="100%">
                        <tr>
                            <td align="center">
                                <br />
                                <br />
                                <asp:Label ID="DescriptionLabel" runat="server" meta:resourcekey="DescriptionLabelResource1"
                                    Width="600"></asp:Label>
                                <br />
                                <br />
                                <asp:HyperLink ID="LaBaffPlatoonLink" runat="server" NavigateUrl="http://battlelog.battlefield.com/bf3/platoon/2832655241300818716/"
                                    Target="_blank" Style="font-weight: bold; font-size: 1em; padding: 10px;" meta:resourcekey="LaBaffPlatoonLinkResource1"></asp:HyperLink>
                                <br />
                                <br />
                                <br />
                            </td>
                        </tr>
                    </table>
                    <table border="0" width="100%" cellpadding="0" cellspacing="0">
                        <tr valign="top" align="center">
                            <td>
                                <uc:IFrameControl ID="IFrameControl1" runat="server" Title="Teamspeak 3 - 64 slots"
                                    Width="300" Height="2000" Src="http://cache.www.gametracker.com/components/html0/?host=109.239.145.121:26909&bgColor=000000&fontColor=ffffff&titleBgColor=000000&titleBgColor=000000&titleColor=FF9900&borderColor=555555&linkColor=FFCC00&borderLinkColor=000000&showMap=0&currentPlayersHeight=1410&showCurrPlayers=1&showTopPlayers=0&showBlogs=0" />
                            </td>
                            <td>
                                <asp:ListView ID="FriendlyTeamListView" runat="server" DataKeyNames="Id" DataSourceID="FriendlyTeamEntityDataSource"
                                    InsertItemPosition="LastItem" OnDataBound="FriendlyTeamListView_DataBound" OnItemDataBound="FriendlyTeamListView_ItemDataBound"
                                    OnItemInserting="FriendlyTeamListView_ItemInserting" OnItemEditing="FriendlyTeamListView_ItemEditing"
                                    OnItemUpdating="FriendlyTeamListView_ItemUpdating" OnItemUpdated="FriendlyTeamListView_ItemUpdated"
                                    OnItemCommand="FriendlyTeamListView_ItemCommand">
                                    <ItemTemplate>
                                        <table border="0" cellpadding="1" cellspacing="0" style="border: 2px solid #ffffff;"
                                            width="100%">
                                            <tr>
                                                <%--                    <td align="center" style="width: 180px">
                        <uc:IFrameControl ID="TSViewerIFrameControl" runat="server" Title="Teamspeak" Width="160"
                            Height="450" />
                    </td>--%>
                                                <td colspan="3" align="center">
                                                    <asp:Label ID="Label1" runat="server" Text="Label" meta:resourcekey="Label1Resource1"
                                                        Visible="false"></asp:Label>
                                                    <asp:Label ID="IdLabel1" CssClass="DataValueText" runat="server" Text='<%# Eval("Id") %>'
                                                        Visible="false" />
                                                    <br />
                                                    <asp:Label ID="Label2" runat="server" Text="Label" meta:resourcekey="Label2Resource1"></asp:Label>
                                                    <asp:Label ID="NameFriendlyTeamLabel" CssClass="DataValueText" runat="server" Text='<%# Eval("NameFriendlyTeam") %>' />
                                                    <br />
                                                    <asp:Label ID="Label3" runat="server" Text="Label" meta:resourcekey="Label3Resource1"></asp:Label>
                                                    <asp:Label ID="TagFriendlyTeamLabel" CssClass="DataValueText" runat="server" Text='<%# Eval("TagFriendlyTeam") %>' />
                                                    <br />
                                                    <asp:Label ID="Label4" runat="server" Text="Label" meta:resourcekey="Label4Resource1"></asp:Label>
                                                    <asp:HyperLink ID="WebsiteFriendlyTeamLink" CssClass="DataValueText" runat="server"
                                                        NavigateUrl='<%# Eval("WebsiteFriendlyTeam") %>' Target="_blank" Text='<%# Eval("WebsiteFriendlyTeam") %>' />
                                                    <br />
                                                    <asp:Label ID="Label8" runat="server" Text="Battlelog Platoon" meta:resourcekey="Label8Resource1"></asp:Label>
                                                    <asp:HyperLink ID="PlatoonFriendlyTeamLink" CssClass="DataValueText" runat="server"
                                                        NavigateUrl='<%# Eval("Bf3PlatoonUrlFriendlyTeam") %>' Target="_blank" Text='<%# Eval("Bf3PlatoonUrlFriendlyTeam") %>' />
                                                    <br />
                                                    <table>
                                                        <tr valign="top">
                                                            <td>
                                                                <asp:Label ID="Label13" runat="server" Text="Battlefield 3 Server(s)" meta:resourcekey="Label13Resource1"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:GridView ID="TeamGameServerGridView" runat="server" AutoGenerateColumns="False"
                                                                    DataKeyNames="Id" AllowPaging="true" PageSize="10" ShowHeader="false" OnSelectedIndexChanged="AddGuildMasterGridView_SelectedIndexChanged"
                                                                    GridLines="None">
                                                                    <Columns>
                                                                        <asp:HyperLinkField DataTextField="AddressGameServer" DataNavigateUrlFields="AddressGameServer"
                                                                            SortExpression="AddressGameServer" Target="_blank" ItemStyle-Wrap="false" ControlStyle-CssClass="DataValueText" />
                                                                        <asp:BoundField DataField="PasswordGameServer" SortExpression="PasswordGameServer" />
                                                                        <asp:BoundField DataField="Id" SortExpression="Id" Visible="false" />
                                                                        <asp:CommandField ButtonType="Button" ShowDeleteButton="true" ControlStyle-CssClass="TableBlackButton"
                                                                            Visible="false" />
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                    <br />
                                                    <asp:Label ID="Label5" runat="server" Text="Label" meta:resourcekey="Label5Resource1"></asp:Label>
                                                    <asp:HyperLink ID="TeamspeakIpFriendlyTeamLink" runat="server" CssClass="DataValueText"
                                                        NavigateUrl=""><%# Eval("TeamspeakIpFriendlyTeam") %></asp:HyperLink>
                                                    <br />
                                                    <asp:Label ID="Label7" runat="server" Text="Label" meta:resourcekey="Label7Resource1"></asp:Label>
                                                    <asp:Label ID="TeamSpeakPasswordFriendlyTeamLabel" CssClass="DataValueText" runat="server"
                                                        Text='<%# Eval("TeamSpeakPasswordFriendlyTeam") %>' />
                                                    <br />
                                                    <asp:Label ID="Label9" runat="server" Text="Label" meta:resourcekey="Label9Resource1"></asp:Label>
                                                    <br />
                                                    <cc1:ImageLink ID="BannerImageUrlFriendlyTeamLabel" CssClass="DataValueText" runat="server"
                                                        ImageUrl='<%# Eval("BannerImageUrlFriendlyTeam")%>' NavigateUrl='<%# Eval("WebsiteFriendlyTeam") %>'
                                                        AlternateText='<%# Eval("BannerImageUrlFriendlyTeam") %>' />
                                                    <br />
                                                    <asp:Label ID="Label10" runat="server" Text="Label" meta:resourcekey="Label10Resource1"></asp:Label>
                                                    <br />
                                                    <asp:Label ID="DescriptionFriendlyTeamLabel" CssClass="DataValueText" runat="server"
                                                        Text='<%# Eval("DescriptionFriendlyTeam") %>' />
                                                    <br />
                                                    <asp:Label ID="Label12" runat="server" Text="Label" meta:resourcekey="Label12Resource1"></asp:Label>
                                                    <asp:Label ID="FriendlyTeamGuildmastersLabel" CssClass="DataValueText" runat="server"
                                                        Text="" />
                                                    <br />
                                                    <asp:Label ID="Label11" runat="server" Text="Label" meta:resourcekey="Label11Resource1"></asp:Label>
                                                    <asp:Label ID="FriendlyTeamMemberLabel" CssClass="DataValueText" runat="server" Text="" />
                                                    <br />
                                                    <br />
                                                    <asp:Button ID="EditButton" runat="server" CommandName="Edit" CommandArgument='<%# Eval("Id") %>'
                                                        Text="Edit" meta:resourcekey="EditButtonResource1" Visible="false" />
                                                    <asp:Button ID="DeleteButton" runat="server" CommandName="Delete" CommandArgument='<%# Eval("Id") %>'
                                                        Text="Delete" meta:resourcekey="DeleteButtonResource1" Visible="false" />
                                                    <br />
                                                    <br />
                                                </td>
                                            </tr>
                                        </table>
                                    </ItemTemplate>
                                    <EditItemTemplate>
                                        <table border="0" cellpadding="1" cellspacing="0" style="border: 2px solid #440000;"
                                            width="100%">
                                            <tr>
                                                <%--                    <td align="center">
                        <uc:IFrameControl ID="TSViewerIFrameControl" runat="server" Title="Teamspeak" Width="154"
                            Height="450" Src="http://cache.www.gametracker.com/components/html0/?host={0}&bgColor=000000&fontColor=ffffff&titleBgColor=000000&titleBgColor=000000&titleColor=FF9900&borderColor=555555&linkColor=FFCC00&borderLinkColor=000000&showMap=0&currentPlayersHeight=280&showCurrPlayers=1&showTopPlayers=0&showBlogs=0" />
                    </td>--%>
                                                <td align="center">
                                                    <asp:Panel ID="AddGuildMasterPanel" runat="server" CssClass="panelMain" Visible="true"
                                                        GroupingText="Add GuildMaster" meta:resourcekey="AddGuildMasterPanelResource1">
                                                        <asp:GridView ID="AddGuildMasterGridView" runat="server" DataSourceID="AddGuildMasterObjectDataSource"
                                                            AutoGenerateColumns="False" DataKeyNames="ProviderUserKey" AllowPaging="true"
                                                            PageSize="50" OnSelectedIndexChanged="AddGuildMasterGridView_SelectedIndexChanged">
                                                            <Columns>
                                                                <asp:BoundField DataField="UserName" HeaderText="UserName" ReadOnly="True" SortExpression="UserName"
                                                                    ItemStyle-Wrap="false" meta:resourcekey="UsernameResource1" />
                                                                <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" ItemStyle-Wrap="false"
                                                                    meta:resourcekey="EmailResource1" />
                                                                <asp:BoundField DataField="ProviderUserKey" SortExpression="ProviderUserKey" Visible="false" />
                                                                <asp:CommandField ButtonType="Button" ShowSelectButton="true" ControlStyle-CssClass="TableBlackButton" />
                                                            </Columns>
                                                        </asp:GridView>
                                                    </asp:Panel>
                                                    <asp:Panel ID="RemoveGuildMasterPanel" runat="server" CssClass="panelMain" Visible="true"
                                                        GroupingText="Remove GuildMaster" meta:resourcekey="RemoveGuildMasterPanelResource1">
                                                        <asp:GridView ID="RemoveGuildMasterGridView" runat="server" DataSourceID="RemoveGuildMasterObjectDataSource"
                                                            AutoGenerateColumns="False" DataKeyNames="ProviderUserKey" AllowPaging="true"
                                                            PageSize="50" OnSelectedIndexChanged="RemoveGuildMasterGridView_SelectedIndexChanged">
                                                            <Columns>
                                                                <asp:BoundField DataField="UserName" HeaderText="UserName" ReadOnly="True" SortExpression="UserName"
                                                                    ItemStyle-Wrap="false" meta:resourcekey="UsernameResource1" />
                                                                <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" ItemStyle-Wrap="false"
                                                                    meta:resourcekey="EmailResource1" />
                                                                <asp:BoundField DataField="ProviderUserKey" SortExpression="ProviderUserKey" Visible="false" />
                                                                <asp:CommandField ButtonType="Button" ShowSelectButton="true" ControlStyle-CssClass="TableBlackButton" />
                                                            </Columns>
                                                        </asp:GridView>
                                                    </asp:Panel>
                                                </td>
                                                <td align="center">
                                                    <asp:Label ID="Label1" runat="server" Text="Label" meta:resourcekey="Label1Resource1"
                                                        Visible="false"></asp:Label>
                                                    <asp:Label ID="IdLabel1" runat="server" Text='<%# Eval("Id") %>' Visible="false" />
                                                    <br />
                                                    <asp:Label ID="Label14" runat="server" Text="Label" meta:resourcekey="Label14Resource1"></asp:Label>
                                                    <asp:CheckBox ID="IsPublicVisibleCheckBox" runat="server" Checked='<%# Bind("IsPublicVisibleFriendlyTeam") %>' />
                                                    <br />
                                                    <asp:Label ID="Label2" runat="server" Text="Label" meta:resourcekey="Label2Resource1"></asp:Label>
                                                    <asp:TextBox ID="NameFriendlyTeamTextBox" runat="server" Text='<%# Bind("NameFriendlyTeam") %>'
                                                        Width="300" />
                                                    <br />
                                                    <asp:Label ID="Label3" runat="server" Text="Label" meta:resourcekey="Label3Resource1"></asp:Label>
                                                    <asp:TextBox ID="TagFriendlyTeamTextBox" runat="server" Text='<%# Bind("TagFriendlyTeam") %>'
                                                        Width="300" />
                                                    <br />
                                                    <asp:Label ID="Label4" runat="server" Text="Label" meta:resourcekey="Label4Resource1"></asp:Label>
                                                    <asp:TextBox ID="WebsiteFriendlyTeamTextBox" runat="server" Text='<%# Bind("WebsiteFriendlyTeam") %>'
                                                        Width="300" />
                                                    <br />
                                                    <asp:Label ID="Label6" runat="server" Text="Label" meta:resourcekey="Label6Resource1"></asp:Label>
                                                    <asp:TextBox ID="Bf3PlatoonUrlFriendlyTeam" runat="server" Text='<%# Bind("Bf3PlatoonUrlFriendlyTeam") %>'
                                                        Width="300" />
                                                    <br />
                                                    <asp:Label ID="Label5" runat="server" Text="Label" meta:resourcekey="Label5Resource1"></asp:Label>
                                                    <asp:TextBox ID="TeamspeakIpFriendlyTeamTextBox" runat="server" Text='<%# Bind("TeamspeakIpFriendlyTeam") %>'
                                                        Width="300" />
                                                    <br />
                                                    <asp:Label ID="Label7" runat="server" Text="Label" meta:resourcekey="Label7Resource1"></asp:Label>
                                                    <asp:TextBox ID="TeamSpeakPasswordFriendlyTeamTextBox" runat="server" Text='<%# Bind("TeamSpeakPasswordFriendlyTeam") %>'
                                                        Width="300" />
                                                    <br />
                                                    <asp:Label ID="Label9" runat="server" Text="Label" meta:resourcekey="Label9Resource1"></asp:Label>
                                                    <asp:TextBox ID="BannerImageUrlFriendlyTeamTextBox" runat="server" Text='<%# Bind("BannerImageUrlFriendlyTeam") %>'
                                                        Width="300" />
                                                    <br />
                                                    <asp:Label ID="Label10" runat="server" Text="Label" meta:resourcekey="Label10Resource1"></asp:Label>
                                                    <br />
                                                    <asp:TextBox ID="DescriptionFriendlyTeamTextBox" runat="server" TextMode="MultiLine"
                                                        Rows="20" Columns="60" Text='<%# Bind("DescriptionFriendlyTeam") %>' />
                                                    <br />
                                                    <asp:Label ID="Label12" runat="server" Text="Label" meta:resourcekey="Label12Resource1"></asp:Label>
                                                    <asp:Label ID="FriendlyTeamGuildmastersLabel" CssClass="DataValueText" runat="server"
                                                        Text="" />
                                                    <br />
                                                    <asp:Label ID="Label11" runat="server" Text="Label" meta:resourcekey="Label11Resource1"></asp:Label>
                                                    <asp:Label ID="FriendlyTeamMemberLabel" CssClass="DataValueText" runat="server" Text="" />
                                                    <br />
                                                    <br />
                                                    <asp:Button ID="UpdateButton" runat="server" CommandName="Update" Text="Update" meta:resourcekey="UpdateButtonResource1" />
                                                    <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" Text="Cancel" meta:resourcekey="CancelButtonResource1" />
                                                    <br />
                                                    <br />
                                                </td>
                                                <td align="center">
                                                    <asp:Panel ID="AddMemberPanel" runat="server" CssClass="panelMain" Visible="true"
                                                        GroupingText="Add Member" meta:resourcekey="AddMemberPanelResource1">
                                                        <asp:GridView ID="AddMemberGridView" runat="server" DataSourceID="AddMemberObjectDataSource"
                                                            AutoGenerateColumns="False" DataKeyNames="ProviderUserKey" AllowPaging="true"
                                                            PageSize="50" OnSelectedIndexChanged="AddMemberGridView_SelectedIndexChanged">
                                                            <Columns>
                                                                <asp:BoundField DataField="UserName" HeaderText="UserName" ReadOnly="True" SortExpression="UserName"
                                                                    ItemStyle-Wrap="false" meta:resourcekey="UsernameResource1" />
                                                                <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" ItemStyle-Wrap="false"
                                                                    meta:resourcekey="EmailResource1" />
                                                                <asp:BoundField DataField="ProviderUserKey" SortExpression="ProviderUserKey" Visible="false" />
                                                                <asp:CommandField ButtonType="Button" ShowSelectButton="true" ControlStyle-CssClass="TableBlackButton" />
                                                            </Columns>
                                                        </asp:GridView>
                                                    </asp:Panel>
                                                    <asp:Panel ID="RemoveMemberPanel" ClientIDMode="Static" runat="server" CssClass="panelMain"
                                                        Visible="true" GroupingText="Remove Member" meta:resourcekey="RemoveMemberPanelResource1">
                                                        <asp:GridView ID="RemoveMemberGridView" runat="server" DataSourceID="RemoveMemberObjectDataSource"
                                                            AutoGenerateColumns="False" DataKeyNames="ProviderUserKey" AllowPaging="true"
                                                            PageSize="50" OnSelectedIndexChanged="RemoveMemberGridView_SelectedIndexChanged">
                                                            <Columns>
                                                                <asp:BoundField DataField="UserName" HeaderText="UserName" ReadOnly="True" SortExpression="UserName"
                                                                    ItemStyle-Wrap="false" meta:resourcekey="UsernameResource1" />
                                                                <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" ItemStyle-Wrap="false"
                                                                    meta:resourcekey="EmailResource1" />
                                                                <asp:BoundField DataField="ProviderUserKey" SortExpression="ProviderUserKey" Visible="false" />
                                                                <asp:CommandField ButtonType="Button" ShowSelectButton="true" ControlStyle-CssClass="TableBlackButton" />
                                                            </Columns>
                                                        </asp:GridView>
                                                    </asp:Panel>
                                                </td>
                                            </tr>
                                        </table>
                                    </EditItemTemplate>
                                    <EmptyDataTemplate>
                                        <asp:Label ID="EmptyDataLabel" runat="server" Text="Label" meta:resourcekey="EmptyDataLabelResource1"></asp:Label>
                                    </EmptyDataTemplate>
                                    <InsertItemTemplate>
                                        <asp:Label ID="Label1" runat="server" Text="Label" meta:resourcekey="Label1Resource1"
                                            Visible="false"></asp:Label>
                                        <br />
                                        <asp:TextBox ID="IdTextBox" runat="server" Text='<%# Bind("Id") %>' Visible="false" />
                                        <br />
                                        <asp:Label ID="Label14" runat="server" Text="Label" meta:resourcekey="Label14Resource1"></asp:Label>
                                        <br />
                                        <asp:CheckBox ID="IsPublicVisibleCheckBox" runat="server" Checked='<%# Bind("IsPublicVisibleFriendlyTeam") %>' />
                                        <br />
                                        <asp:Label ID="Label2" runat="server" Text="Label" meta:resourcekey="Label2Resource1"></asp:Label>
                                        <br />
                                        <asp:TextBox ID="NameFriendlyTeamTextBox" runat="server" Text='<%# Bind("NameFriendlyTeam") %>'
                                            Width="300" />
                                        <br />
                                        <asp:Label ID="Label3" runat="server" Text="Label" meta:resourcekey="Label3Resource1"></asp:Label>
                                        <br />
                                        <asp:TextBox ID="TagFriendlyTeamTextBox" runat="server" Text='<%# Bind("TagFriendlyTeam") %>'
                                            Width="300" />
                                        <br />
                                        <asp:Label ID="Label4" runat="server" Text="Label" meta:resourcekey="Label4Resource1"></asp:Label>
                                        <br />
                                        <asp:TextBox ID="WebsiteFriendlyTeamTextBox" runat="server" Text='<%# Bind("WebsiteFriendlyTeam") %>'
                                            Width="300" />
                                        <br />
                                        <asp:Label ID="Label6" runat="server" Text="Label" meta:resourcekey="Label6Resource1"></asp:Label>
                                        <br />
                                        <asp:TextBox ID="Bf3PlatoonUrlFriendlyTeam" runat="server" Text='<%# Bind("Bf3PlatoonUrlFriendlyTeam") %>'
                                            Width="300" />
                                        <br />
                                        <asp:Label ID="Label5" runat="server" Text="Label" meta:resourcekey="Label5Resource1"></asp:Label>
                                        <br />
                                        <asp:TextBox ID="TeamspeakIpFriendlyTeamTextBox" runat="server" Text='<%# Bind("TeamspeakIpFriendlyTeam") %>'
                                            Width="300" />
                                        <br />
                                        <asp:Label ID="Label7" runat="server" Text="Label" meta:resourcekey="Label7Resource1"></asp:Label>
                                        <br />
                                        <asp:TextBox ID="TeamSpeakPasswordFriendlyTeamTextBox" runat="server" Text='<%# Bind("TeamSpeakPasswordFriendlyTeam") %>'
                                            Width="300" />
                                        <br />
                                        <asp:Label ID="Label9" runat="server" Text="Label" meta:resourcekey="Label9Resource1"></asp:Label>
                                        <br />
                                        <asp:TextBox ID="BannerImageUrlFriendlyTeamTextBox" runat="server" Text='<%# Bind("BannerImageUrlFriendlyTeam") %>'
                                            Width="300" />
                                        <br />
                                        <asp:Label ID="Label10" runat="server" Text="Label" meta:resourcekey="Label10Resource1"></asp:Label>
                                        <br />
                                        <asp:TextBox ID="DescriptionFriendlyTeamTextBox" runat="server" TextMode="MultiLine"
                                            Rows="10" Columns="38" Text='<%# Bind("DescriptionFriendlyTeam") %>' />
                                        <br />
                                        <asp:Button ID="InsertButton" runat="server" CommandName="Insert" Text="Insert" meta:resourcekey="InsertButtonResource1" />
                                        <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" Text="Clear" meta:resourcekey="CancelButtonResource1" />
                                        <br />
                                        <br />
                                    </InsertItemTemplate>
                                    <LayoutTemplate>
                                        <div id="itemPlaceholderContainer" runat="server" style="">
                                            <span runat="server" id="itemPlaceholder" />
                                        </div>
                                        <div style="">
                                            <asp:DataPager ID="DataPager1" runat="server" PageSize="20" QueryStringField="friendlyteampagenumber">
                                                <Fields>
                                                    <asp:NextPreviousPagerField ButtonType="Button" ShowFirstPageButton="True" ShowNextPageButton="False"
                                                        ShowPreviousPageButton="False" FirstPageText="&lt;&lt;" PreviousPageText="&lt;"
                                                        RenderDisabledButtonsAsLabels="True" meta:resourcekey="NextPreviousPagerFieldResource3" />
                                                    <asp:NumericPagerField ButtonCount="10" CurrentPageLabelCssClass="selectedpage" meta:resourcekey="NumericPagerFieldResource2" />
                                                    <asp:NextPreviousPagerField ButtonType="Button" ShowLastPageButton="True" ShowNextPageButton="False"
                                                        ShowPreviousPageButton="False" LastPageText="&gt;&gt;" NextPageText="&gt;" RenderDisabledButtonsAsLabels="True"
                                                        meta:resourcekey="NextPreviousPagerFieldResource4" />
                                                </Fields>
                                            </asp:DataPager>
                                        </div>
                                    </LayoutTemplate>
                                </asp:ListView>
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
